package com.capIX.Threads;

public class NameRunnable2 implements Runnable {
	public void run(){
		for(int x=1;x<=4;x++){
			System.out.println("Run by "+
		Thread.currentThread().getName()+
		", x is "+x);
			
			try {
				Thread.sleep(1000);
			} catch (InterruptedException ex) {
				// TODO: handle exception
			}
		}
	}
}
